﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ECare.Client.Services;

namespace ECare.Client.controls
{
    public partial class ucWizardSkin : ucWizardInfo
    {
        public ucWizardSkin()
        {
            InitializeComponent();
        }

        public override bool Execute()
        {
      //      return base.Execute();
            if (Finished != null){
                this.Finished(true);
            }
            return base.Execute();
        }

        public override void LoadInformation()
        {

            this.lblNo.Text = (this.Index + 1).ToString();
            //base.LoadInformation();
            


        }

        public event StepFinishedHandler Finished;
        public event ExecuteNextSteps ExcecuteNext;
        private void eButton1_Click(object sender, EventArgs e)
        {
            if (ExcecuteNext != null)
            {
                this.ExcecuteNext();
            }
        }
    }
}
